package com.billow.book.model.vo;

import lombok.Data;

import java.util.Objects;

@Data
public class ResultVo<T> {
    private int code;
    private String msg;
    private T data;
    private Boolean ok;

    public Boolean getOk() {
        return Objects.equals(code, 0);
    }

}
